package com.menggudf.model;
import java.io.Serializable;
import java.util.Date;
import java.util.List;

public class UserModel implements Serializable {

    /**
     * 
     */
    private static final long serialVersionUID = 5092137282546854336L;
    
    private int id;
    private String userCode;
    private String userName;
    private String password;
    private Integer sex;
    private int curSex;
    private Date birth;
    private String phone;
    private Date createTime;
    private String realName;
    private String lastTime;
    private Integer age;
    private Integer loginStatus;
    private Integer isMainRole;//是否为主张号
    private String roleCode;
    private Integer isRead;
    private List<UserInfoModel> list;
    private String sms;
    private Long day; 
    
    public UserModel(){
        
    }
    
    public UserModel(String userCode, String userName, String password,
			Integer sex, Date birth, String phone, Date createTime,
			List<UserInfoModel> list) {
		super();
		this.userCode = userCode;
		this.userName = userName;
		this.password = password;
		this.sex = sex;
		this.birth = birth;
		this.phone = phone;
		this.createTime = createTime;
		this.list = list;
	}



	public UserModel(String userCode, String userName, String password,
			Integer sex, Date birth, String phone, Date createTime) {
		super();
		this.userCode = userCode;
		this.userName = userName;
		this.password = password;
		this.sex = sex;
		this.birth = birth;
		this.phone = phone;
		this.createTime = createTime;
	}



	public String getUserCode() {
        return userCode;
    }
    public void setUserCode(String userCode) {
        this.userCode = userCode;
    }
    public String getUserName() {
        return userName;
    }
    public void setUserName(String userName) {
        this.userName = userName;
    }
    public String getPassword() {
        return password;
    }
    public void setPassword(String password) {
        this.password = password;
    }
    public Integer getSex() {
        return sex;
    }
    public void setSex(Integer sex) {
        this.sex = sex;
    }
    public Date getBirth() {
        return birth;
    }
    public void setBirth(Date birth) {
        this.birth = birth;
    }
    public String getPhone() {
        return phone;
    }
    public void setPhone(String phone) {
        this.phone = phone;
    }
    public List<UserInfoModel> getList() {
        return list;
    }
    public void setList(List<UserInfoModel> list) {
        this.list = list;
    }

	public Date getCreateTime() {
		return createTime;
	}
	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}



    public int getId() {
        return id;
    }



    public void setId(int id) {
        this.id = id;
    }



    public int getCurSex() {
        return curSex;
    }



    public void setCurSex(int curSex) {
        this.curSex = curSex;
    }



    public String getLastTime() {
        return lastTime;
    }



    public void setLastTime(String lastTime) {
        this.lastTime = lastTime;
    }

    public Integer getAge() {
        return age;
    }

    public void setAge(Integer age) {
        this.age = age;
    }

    public Integer getLoginStatus() {
        return loginStatus;
    }

    public void setLoginStatus(Integer loginStatus) {
        this.loginStatus = loginStatus;
    }

    public Integer getIsMainRole() {
        return isMainRole;
    }

    public void setIsMainRole(Integer isMainRole) {
        this.isMainRole = isMainRole;
    }

    public String getRoleCode() {
        return roleCode;
    }



    public void setRoleCode(String roleCode) {
        this.roleCode = roleCode;
    }



    public String getRealName() {
        return realName;
    }

    public void setRealName(String realName) {
        this.realName = realName;
    }

    public Integer getIsRead() {
        return isRead;
    }

    public void setIsRead(Integer isRead) {
        this.isRead = isRead;
    }

    public String getSms() {
        return sms;
    }

    public void setSms(String sms) {
        this.sms = sms;
    }

    public Long getDay() {
        return day;
    }

    public void setDay(Long day) {
        this.day = day;
    }

}
